<ul  id="top-navigation">
    <?php foreach ($lista as $tab): ?>
    <li id="tab_<?php echo $tab['Tab']['id']?>"><span><span><?php echo $ajax->link($tab['Tab']['titulo'], array('controller' => 'Menus', "action" => "ver", $tab['Tab']['id']), array('update' => 'menu', 'indicator' => 'loading', 'class' => "menu_link" ,'complete'=>'$("#content").html("")')) ?></span></span></li>

    <?php endforeach; ?>
</ul>